<div class="row animate fadeIn">
    <form class="form-horizontal" >
    <div class="ibox-title" style="border:none;"><h5 style="color: #00afef"><i>View</i></h5>
     </div>
                <div class="ibox-content">
                        <div class="form-group">
                            <?php foreach ($items as $cost) { ?>
                            <input type="hidden" name="cost_id" value="<?php echo $cost->cost_id; ?>"> 
                            <label class="col-lg-3 control-label">Business Unit</label>
                            <div class="col-lg-4">
                                <input type="text" class="form-control" value="<?php echo $cost->bu_name; ?>" disabled name="">
                            </div>
                            <input type="hidden" name="company_id" value="2">
                        </div>
                        <div class="form-group">
                            <label class="col-lg-3 control-label">Item Number</label>
                            <div class="col-lg-4">
                                <input type="text" style="width: 150px;" class="form-control" value="<?php echo $cost->item_num; ?>" readonly>
                                    <!-- <select  class="chosen-select" name="" id="" >
                                        <option value=""><?php echo $cost->item_num; ?></option>
                                    </select> -->
                                </div>
                        </div>
                        <div class="form-group"><label class="col-lg-3 control-label">Description</label> 
		                    <div class="col-lg-4">
		                        <input type="text"  id="" class="form-control" style="width:238px;" value="<?php echo $cost->description; ?>" readonly>
		                    </div>
		                </div>
                        <div class="form-group"><label class="col-lg-3 control-label">Effective Date</label> 
		                    <div class="col-lg-4">
		                        <input type="text" value="<?php echo $cost->effective_date; ?>" name="edit_effective_date" id="edit_eff_date" class="form-control" style="width:238px;" readonly>
		                    </div>
		                </div>
                        <div class="form-group">
                            <label class="col-lg-3 control-label">Unit Cost</label>
                            <div class="col-lg-4">
                                <input type="text" style="width: 150px;" class="form-control" name="edit_cost" value="<?php echo$cost->full_cost; ?>" readonly>
                            </div>
                        </div>
                        <?php } ?>
                    </form>
                </div>
</div>
<script>
    $(document).ready(function(){
        $('#viewX').click(function(){
            close_view();
       });
    });
</script>